package com.huawei.aiservice.entity.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.huawei.aiservice.enums.ReportStatus;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_report")
public class Report {
    @TableId(type = com.baomidou.mybatisplus.annotation.IdType.AUTO)
    private int reportId;

    private int userId;

    private String createTime;

    private ReportStatus status;

    public Report(int userId, String createTime, ReportStatus status) {
        this.userId = userId;
        this.createTime = createTime;
        this.status = status;
    }
}
